﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace SilverRaport.Web
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISilverRaporService" in both code and config file together.
    [ServiceContract]
    public interface ISilverRaporService
    {
        [OperationContract]
        object KullaniciBul(string UserName, string Pass);

        [OperationContract]
        int RaporKaydet(string RaporIsim, string RaporSQL, int Interval, int KullaniciID, byte raporTipi, byte grafikTipi, int RaporID = 0);

        [OperationContract]
        string[] KullaniciGetir(int KullaniciID);

        [OperationContract]
        List<RaporListe> RaporListele(int KullaniciID);

        [OperationContract]
        bool RaporSil(int RaporID, int KullaniciID);

    }
}
